﻿namespace TopoViewer
{
    /// <summary>
    /// Represents a key to a map. Two variables identify a map: scale level (1-5), coordiates of a corner. We choose SE corner and we 
    /// use seconds in integers to represent the coordinates.
    /// </summary>
    public struct MapKey
    {
        public MapLevel level;
        public int south;
        public int east;

        // TODO: implement hash code to improve performance for lookup
        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
    };
}
